package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HisEngineRuleCommon;

/**
 * 通用规则逻辑Mapper接口
 * 
 * @author Alan
 * @date 2024-03-07
 */
public interface HisEngineRuleCommonMapper 
{
    /**
     * 查询通用规则逻辑
     * 
     * @param id 通用规则逻辑主键
     * @return 通用规则逻辑
     */
    public HisEngineRuleCommon selectHisEngineRuleCommonById(Long id);

    /**
     * 查询通用规则逻辑列表
     * 
     * @param hisEngineRuleCommon 通用规则逻辑
     * @return 通用规则逻辑集合
     */
    public List<HisEngineRuleCommon> selectHisEngineRuleCommonList(HisEngineRuleCommon hisEngineRuleCommon);

    /**
     * 新增通用规则逻辑
     * 
     * @param hisEngineRuleCommon 通用规则逻辑
     * @return 结果
     */
    public int insertHisEngineRuleCommon(HisEngineRuleCommon hisEngineRuleCommon);

    /**
     * 修改通用规则逻辑
     * 
     * @param hisEngineRuleCommon 通用规则逻辑
     * @return 结果
     */
    public int updateHisEngineRuleCommon(HisEngineRuleCommon hisEngineRuleCommon);

    /**
     * 删除通用规则逻辑
     * 
     * @param id 通用规则逻辑主键
     * @return 结果
     */
    public int deleteHisEngineRuleCommonById(Long id);

    /**
     * 批量删除通用规则逻辑
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHisEngineRuleCommonByIds(Long[] ids);
}
